#ifndef	__other_H__
#define __other_H__
#include "STC8H.H"
#include "config.h"
sbit bz =   P3 ^ 2;
sbit BOOM = P3 ^ 3;
sbit KEY =  P5 ^ 4;
sbit LED =  P5 ^ 5;


typedef struct
{
	int RevData;
	int BoomDelayTime;
	unsigned char Insurance;
    int BoomDealyFlag;
}SYSPARA;

extern SYSPARA SysPara;
void BeepON(void);
void PowerONBeep(void);
u8 CheckReceivedData(u8* receivedData);
void Key_Scan(void);
void BoomCtrl(u8 RevData);
u8 RemoteControlMapp(int dat);

#endif
